﻿import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
public class User
{
	private String Name ;
	private String YourSex ;
	private int    YourAge ;
	private double YourHeight ;
	private double YourWeight ;
	private String BuildTime  ;
	public User( String InputName , String BTime )
	{
		Name       = InputName ;
		YourSex    = (String) null;
		YourAge    = 0;
		YourHeight = 0 ;
		YourWeight = 0 ;
		BuildTime  = BTime ;
	}
	public User( String InputName )
	{
		Name           = InputName ;
		YourSex        = (String) null;
		YourAge        = 0;	
		YourHeight     = 0 ;
		YourWeight     = 0 ;
		Date BuildDate = new Date( ) ;
		DateFormat dateFormat = new SimpleDateFormat( "EE-MM-dd-yyyy" ) ;
		BuildTime      = dateFormat.format( BuildDate ) ;
	}
	public void ShowUserInfo( )
	{
		System.out.print( Name ) ;
		System.out.print( YourSex ) ;
		System.out.print( YourAge ) ;			
		System.out.print( YourHeight ) ;
		System.out.print( YourWeight ) ;
		System.out.print( BuildTime ) ;
	}
	public String getUserName( )
	{
		return Name ;
	}
	public String getUserYourSex( )
	{
		return YourSex ;
	}	
	public double getUserYourAge( )
	{
		return YourAge ;
	}	
	public double getUserYourHeight( )
	{
		return YourHeight ;
	}
	public double getUserYourWeight( )
	{
		return YourWeight ;
	}
	public String getUserBuildTime( )
	{
		return BuildTime ;
	}
}
